import { Layout, Modal, Popover } from 'antd';

import 'antd/dist/reset.css';
import './App.css';

import EventQueryPanel from './component/EventQueryPanel'
import EventTable from './component/EventTable'

const { Content, Sider } = Layout;


function App() {

  return (
    <Layout>
      <Sider className='alarm-sider-wrapper' width={400}>
        <EventQueryPanel />
      </Sider>
      <Content>
        <EventTable />
      </Content>

      {/* Fix: 解决在QWebEngineView中Modal静态方法弹出框位置定位错误的问题 */}
      <Modal title="" open={false} />
      {/* Fix: 添加一个Popover，可以解决在QWebEngineView中Popover位置定位错误的问题 */}
      <Popover title="">
        <div />
      </Popover>
    </Layout>
  );
}

export default App;